package thinker;

import java.util.Random;

import comm.*;

public class Thinker {

	// TODO REMEMBER TO CHECK Main.gameOver

	public byte color;

	public Thinker(byte clr) {
		color = clr;
	}

	public ChessInfo nextMove() {
		Random rand = new Random();
		byte r = (byte) rand.nextInt(15);
		byte c = (byte) rand.nextInt(15);
		byte[] rs = { 0, 0, 0, 0 };
		return new ChessInfo((byte) 0, color, r, c, rs);
	}

}
